
<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/documentInfo.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryDocumentInfoForm');
			queryDocumentInfo_documentInfo(page)
			addFilesUploadEvent_documentInfo()
		}
	});
	$('#queryDocumentInfoForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});
</script>

<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/modeltype_entity.ftl" as mte>

<div id="tabs-1">
		<form id="queryDocumentInfoForm">
			
			<input type="hidden" name="cu" value="${cu_code}" />
			<input type="hidden" name="oc" value="${cu_organCode}" />
			<input type="hidden" name="rc" value="${cu_roleCode}" />
			<table class="search_term_table">
				<tr>
					<th style="width:60px;">文档名称</th>
					<td><input type="text" name="name" style="width:150px;" /></td>
					<th style="width:80px;">文档类型</th>
					<td><@mte.DocumentType name="dc" organCode="${cu_organCode}" classname="uniformselect" nullstr="所有"/></td>
					<td style="text-align: right;">
						<div>
						<a href="javascript:;" class="btn btn-info" onclick="javascript: queryDocumentInfo_documentInfo();">
							<i class="icon-search"></i>&nbsp;查&nbsp;&nbsp;询&nbsp;
						</a> 
						<a class="btn btn-success" id="uploadFilesBtn" onclick="javascript: addFilesUploadEvent_documentInfo();" href="javascript:;">
							&nbsp;上&nbsp;&nbsp;传&nbsp;
						</a>
						<span id="annexListTd"></span>
						</div>
					</td>
				</tr>
				<tr>
					<th style="width:60px;">上传者</th>
					<td><input type="text" name="cun" style="width:150px;" /></td>
					<th style="width:80px;">创建时间</th>
					<td><input type="text" name="ct" style="width:70px;" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});"/>
					 到 <input type="text" name="ct" style="width:70px;" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});"/></td>
				</tr>
			</table>
		</form>
	<div id="documentInfoResultList"></div>
</div>
